<nz-tree-view [nzTreeControl]="treeControl" [nzDataSource]="dataSource">
  <nz-tree-node *nzTreeNodeDef="let node" nzTreeNodeIndentLine>
    <nz-tree-node-option [nzDisabled]="node.type==='ORG'" [nzSelected]="selectListSelection.isSelected(node)"
      (nzClick)="selectListSelection.toggle(node)">
      {{ "[" + node.me?.code + "]" + node.me?.name }}
    </nz-tree-node-option>
  </nz-tree-node>

  <nz-tree-node *nzTreeNodeDef="let node; when: hasChild" nzTreeNodePadding>
    <nz-tree-node-toggle *ngIf="!node.loading">
      <i nz-icon nzType="caret-down" nzTreeNodeToggleRotateIcon></i>
    </nz-tree-node-toggle>
    <!-- <nz-tree-node-toggle *ngIf="node.loading" nzTreeNodeNoopToggle>
      <i nz-icon nzType="loading" nzTreeNodeToggleActiveIcon></i>
    </nz-tree-node-toggle> -->
    <!-- {{ node.label }} -->
    <nz-tree-node-option [nzDisabled]="node.type==='ORG'" [nzSelected]="selectListSelection.isSelected(node)"
      (nzClick)="selectListSelection.toggle(node)">
      {{ "[" + node.me?.code + "]" + node.me?.name }}
    </nz-tree-node-option>
  </nz-tree-node>
</nz-tree-view>
